package com.fs.groupSeven.Dao;

import com.fs.groupSeven.pojo.College;
import com.fs.groupSeven.pojo.Subject;
import com.fs.groupSeven.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherDao {
    List<Teacher> queryTeacherList();
    Teacher queryOneByTeacherId(Integer teacherId);
    List<College> queryCollegeList();
    int updateByTeacher(Teacher teacher);
    int deleteByTeacher(Teacher teacher);
    int insertTeacher(Teacher teacher);
    List<Teacher> queryByColumn(@Param("columnValue") String teacherName);//按课程模糊查询
}
